import request from "@/utils/request";

export type TabListsModel = {
  [propsName: string]: any;
};

export const reqRankTabs = (sceneId: number) => {
  return request.get<any, TabListsModel>(
    `/revision/rank/v4/rankTabs?sceneId=${sceneId}`
  );
};

export const reqRankingId = (rankingId: number) => {
  return request.get<any, TabListsModel>(
    `/revision/rank/v4/element?rankingId=${rankingId}`
  );
};
